#pragma once

#include "File.h"

#include <utility>
#include <mutex>
#include <algorithm>

#include "types.h"

class Printer {
public:

    Printer(bool tsv_enabled);

    void startSession(size_t count) const;

    bool printAndSync(const FilePairType& file_pair, AlgResultType sim);

    void endSession() const;

private:

    bool tsv_enabled_;

    std::mutex mutex_;
};





